.class public Lorg/jboss/netty/handler/codec/spdy/SpdyFrameCodec;
.super Ljava/lang/Object;
.source "SpdyFrameCodec.java"

# interfaces
.implements Lorg/jboss/netty/channel/ChannelUpstreamHandler;
.implements Lorg/jboss/netty/channel/ChannelDownstreamHandler;


# instance fields
.field private final decoder:Lorg/jboss/netty/handler/codec/spdy/SpdyFrameDecoder;

.field private final encoder:Lorg/jboss/netty/handler/codec/spdy/SpdyFrameEncoder;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 34
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 31
    new-instance v0, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameDecoder;

    invoke-direct {v0}, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameDecoder;-><init>()V

    iput-object v0, p0, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameCodec;->decoder:Lorg/jboss/netty/handler/codec/spdy/SpdyFrameDecoder;

    .line 32
    new-instance v0, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameEncoder;

    invoke-direct {v0}, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameEncoder;-><init>()V

    iput-object v0, p0, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameCodec;->encoder:Lorg/jboss/netty/handler/codec/spdy/SpdyFrameEncoder;

    .line 35
    return-void
.end method


# virtual methods
.method public handleDownstream(Lorg/jboss/netty/channel/ChannelHandlerContext;Lorg/jboss/netty/channel/ChannelEvent;)V
    .locals 1
    .parameter "ctx"
    .parameter "e"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .prologue
    .line 44
    iget-object v0, p0, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameCodec;->encoder:Lorg/jboss/netty/handler/codec/spdy/SpdyFrameEncoder;

    invoke-virtual {v0, p1, p2}, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameEncoder;->handleDownstream(Lorg/jboss/netty/channel/ChannelHandlerContext;Lorg/jboss/netty/channel/ChannelEvent;)V

    .line 45
    return-void
.end method

.method public handleUpstream(Lorg/jboss/netty/channel/ChannelHandlerContext;Lorg/jboss/netty/channel/ChannelEvent;)V
    .locals 1
    .parameter "ctx"
    .parameter "e"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .prologue
    .line 39
    iget-object v0, p0, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameCodec;->decoder:Lorg/jboss/netty/handler/codec/spdy/SpdyFrameDecoder;

    invoke-virtual {v0, p1, p2}, Lorg/jboss/netty/handler/codec/spdy/SpdyFrameDecoder;->handleUpstream(Lorg/jboss/netty/channel/ChannelHandlerContext;Lorg/jboss/netty/channel/ChannelEvent;)V

    .line 40
    return-void
.end method
